From: Florian Müllner Date: Tue, 27 May 2025 12:50:20 +0000 (+0200) Subject: tools/toolbox: Use devkit when integrating with GNOME Builder X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~124^2^2~78 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f0cc0507569f1b0e0ee004ed48600f832a9fa97d;p=gnome-shell.git tools/toolbox: Use devkit when integrating with GNOME Builder Also support the new devkit when running from Builder. Unlike for the run-gnome-shell script, we cannot easily support both --devkit and --nested (without adding some wrapper), so drop the latter. It should be fairly uncommon to use Builder to develop against older branches, so hopefully this shouldn't be a limitation in practice. Part-of: --- diff --git a/tools/toolbox/create-toolbox.sh b/tools/toolbox/create-toolbox.sh index c5bad3505..bb3b86224 100755 --- a/tools/toolbox/create-toolbox.sh +++ b/tools/toolbox/create-toolbox.sh @@ -53,7 +53,6 @@ install_extra_packages() { create_builder_config() { local container_id=$(podman container inspect --format='{{.Id}}' $NAME) local top_srcdir=$(realpath $(dirname $0)/../..) - local wayland_display=builder-wayland-0 cat >> $top_srcdir/.buildconfig <<-EOF @@ -61,10 +60,9 @@ create_builder_config() { name=$NAME Toolbox runtime=podman:$container_id prefix=/usr - run-command=dbus-run-session gnome-shell --nested --wayland-display=$wayland_display + run-command=dbus-run-session gnome-shell --devkit [toolbox-$NAME.runtime_environment] - WAYLAND_DISPLAY=$wayland_display G_MESSAGES_DEBUG=GNOME Shell XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/local/share:/usr/share} EOF